<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<link href="js/select2/select2.min.css" type="text/css" rel="stylesheet" />
<script src="js/select2/select2.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		var s1=$("#roomType").select2();
		initRoomType();
		s1.val("玄关").trigger("change");
	});
	
	function initRoomType(){
		var html = "";
		var arr = ["玄关","起居室","餐厅","厨房","储物间","卫生间","房间","平台","阳台"];
		for(var i = 0;i<arr.length;i++){
			html = "<option value=\""+arr[i]+"\">"+arr[i]+"</option>";
			$("#roomType").append(html);
		}
	}
</script>
  <div class="main">
 		<div style="height: 34px;">
			房屋类型：<select  class="js-example-basic-single" name="roomType" id="roomType" style="width:135px;">
			</select>
			&nbsp; <a style="display:none;" id="room_btn_add"  class='btn btn-primary radius' onClick='openAddCheck(this)' >新 增</a> 
		</div>
		<!-- 表单start -->
		<div>
			<%@include file="decorationCheck-add.jsp" %>
		</div>
		<!-- 表单end -->
 </div>
	
	

